import React from 'react'
import type { FC, PropsWithChildren } from 'react'

interface AffixProps {
  offsetTop?:number
  offsetBottom?:number
  onChange?(affixed:boolean):void
}

const Affix:FC<PropsWithChildren<AffixProps>> = props=>{
  return (
    <React.Fragment>
      { props.children }
    </React.Fragment>
  )
}

export default Affix
